#ifndef DEMO1_H
#define DEMO1_H
#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
class demo11
{
private:
    string *name;

public:
    double *data;
    demo11() = default;
    // demo11(double *a, string *b);
    demo11(const demo11 &);
    demo11 &operator=(const demo11 &);
    demo11(demo11 &&demo) noexcept : data(demo.data), name(demo.name)
    {
        demo.name = nullptr;
        demo.data = nullptr;
        // demo.name = demo.data = nullptr;
    }
    demo11 operator=(demo11 &&);
    ~demo11();
};

#endif // !